import request from '@/utils/request'

// 查询课程管理列表
export function listCourse(query) {
  return request({
    url: '/service/course/list',
    method: 'get',
    params: query
  })
}

// 查询课程管理详细
export function getCourse(courseId) {
  return request({
    url: '/service/course/' + courseId,
    method: 'get'
  })
}